<template>
  <div class="backGround">
    <div class="homePage">
      <van-nav-bar fixed title="首页" />
      <div class="img"></div>
      <div class="gridDiv">
        <van-grid class="homeGrid" clickable :column-num="2" :border="false">
          <van-grid-item
            class="gridItem"
            icon="diamond-o"
            text="发起申请"
            to="/apply"
          />
          <van-grid-item
            class="gridItem"
            icon="notes-o"
            text="申请记录"
            to="/record"
          />
          <van-grid-item
            class="gridItem"
            icon="bookmark-o"
            text="校园动态"
            to="/infomation"
          />
          <van-grid-item
            class="gridItem"
            icon="flower-o"
            text="个人中心"
            to="/user"
          />
        </van-grid>
      </div>

      <article-item :check="check" select="article"></article-item>
      <div class="bottomBox"></div>
    </div>
  </div>
</template>

<script>
/* eslint-disable */
export default {
  name: "home-page",
};
</script>

<style lang="less" scoped>
.backGround {
  background: #f5f5f5;
  height: 100vh;
}
.homePage {
  background-color: #f5f5f5;
  padding: 0 10px;
  // height: 100vh;
  .img {
    margin-top: 40px;
    padding-top: 80px;
    height: 20vh;
    background-image: url(../assets/img/zhelixiaoxiaomen.jpg);
    background-size: contain;
  }
}
.gridDiv {
  margin-top: 10px;
  border-radius: 12px;
  // border: 3px solid pink;
}
.bottomBox {
  padding-bottom: 7vh;
}
</style>
